package org.flywaydb.core.internal.info;

/**
 * @author weixiaochun
 * @date 2024/1/3
 */
public class SqlFileBaseInfo {

    /**
     * 作者
     */
    private String author = "auto";

    /**
     * 备注：脚本变更信息
     */
    private String remark;

    /**
     * 是否掉过错误
     */
    private Boolean ifSkipError = false;

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Boolean getIfSkipError() {
        return ifSkipError;
    }

    public void setIfSkipError(Boolean ifSkipError) {
        this.ifSkipError = ifSkipError;
    }

    @Override
    public String toString() {
        return "SqlFileBaseInfo{" +
                "author='" + author + '\'' +
                ", remark='" + remark + '\'' +
                ", ifSkipError=" + ifSkipError +
                '}';
    }
}
